/***********************************************
 This file is part of redia-bapps-main-ios.
 
 Copyright (c) 2015 Redia A/S
 
 Redia-bapps-main-ios is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 redia-bapps-main-ios is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with redia-bapps-main-ios.  If not, see <http://www.gnu.org/licenses/>.
 
 *********************************************** */

//
//  BAFullRecord.h
//  redia-bapps-ios
//
//  Created by Nikolaj Tørring on 8/7/13.
//  Copyright (c) 2013 redia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JSONEncoding.h"
#import "BAAvailability.h"


@interface BAFullRecord : NSObject<JSONEncoding>



/**
 Object identifier.
 */
@property(nonatomic, strong) NSString* identifier;

/**
 Faust ID.
 */
@property(nonatomic, strong) NSString* faust;

/**
 Title.
 */
@property(nonatomic, strong) NSString* title;

/**
 seriesQuery
 */
@property(nonatomic) BOOL moreInSameSeries;

/**
 ISBN number.
 */
@property(nonatomic, strong) NSString* isbn;


@property(nonatomic, strong) NSArray* creators; ///< Array of NSString with authors or creators of the object
@property(nonatomic, strong) NSString* type;    ///< Material type
@property(nonatomic, strong) NSString* shelfmark;   ///< String with a number
@property(nonatomic, strong) NSString* publisher;
@property(nonatomic, strong) NSString* edition;
@property(nonatomic, strong) NSString* year;        ///< Year of publication
@property(nonatomic, strong) NSString* language;    ///< Language of the object
@property(nonatomic, strong) NSString* abstract;
@property(nonatomic, strong) NSArray* subjects;     ///< Array of NSString with subject words relating to the object

@property(nonatomic) BOOL isERessource;
@property(nonatomic, strong) NSString* eRessourceUrl;    ///< url of e-resource, or NULL

/**
 Info about reservation and availability
 */
@property(nonatomic, strong) BAAvailability* availability;

@property(nonatomic) NSInteger nofReservations; ///< total count of reservations for this material. -1 if data not found

@property(nonatomic, strong) NSString* seriesInfo;

@end
